import React, {memo} from 'react';
import CounterClass from "./CounterClass";
import CounterFunc from "./CounterFunc";

const App = memo(() => {
  return (
    <div>
      <h2>App Component</h2>
      <CounterClass/>
      <hr/>
      <CounterFunc/>
    </div>
  )
})

export default App;